package cn.cnlee.app.config;

import java.net.InetAddress;
import java.net.UnknownHostException;
import java.util.HashSet;
import java.util.Set;

import cn.cnlee.app.repository.UserRepository;

/**
 * 常量
 */
public class Constants {
    public static final String HOME_TAG = "home";
    public static final String SPOT_TAG = "spot";
    public static final String FUTURE_TAG = "future";
    public static final String AUCTION_TAG = "auction";
    public static final String MINE_TAG = "mine";

    public static final String NEWS_CONTENT_TAG = "news_content";

    public final static String F_PID = "f_pid";
    public final static String F_NEWS_ID = "f_news_id";

    public final static int TO_LOGIN_CODE = -100;//跳转登录界面
    public final static int TO_CHECK_SMS_CODE = -101;//需要验证码登录

    public final static boolean DEBUG = true;

    public final static String LOGIN_ACTION_NOTIFY_KEY = "LOGIN_ACTION_NOTIFY_KEY";

    public static final Set<String> SESSION_NO_CHECK = new HashSet<String>();

    static {
        SESSION_NO_CHECK.add(Urls.LOGIN);
    }

}
